﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="messages.aspx.cs" Inherits="WebSite.cn.messages" %>

<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="category.ascx" TagName="category" TagPrefix="uc2" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title><%=WebSite.info.info1("", "shoptitle")%></title>
    <meta name="Description" content="<%=WebSite.info.info1("","shopcontent")%>" /> 
    <meta name="Keywords" content="<%=WebSite.info.info1("","shopkey")%>" />
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" src="../../js/function.js"></script>
    <script language="javascript">
        function CheckFrm() {
            var obj = 'title,telphone,content';
            var objt = '1,1,1';
            var flag = false;
            var msg = '标题,联系电话,留言';
            var chks = chk(frm, obj, objt, msg);
            if (!chks) {
                return false;
            }
        }
    </script>
</head>
<body>
    <center>
	<uc1:head ID="head_1" runat="server" />
<div id="container">
  
	  <div class="title">
			<p>留言</p>
              <div style="width:100%"  align="left" >  <img src="images/span_solid.png" width="980px" alt="" /></div>
	  </div>
	  <div class="pro02" ><br />
      <!--
        <table width="95%" border="0" cellpadding="0" cellspacing="0" class="table_02">
          <%=msg %>
        </table>
        -->
        <form id="frm" runat="server">
        <br />
        <table width="95%" border="0" cellpadding="0" cellspacing="0" style="margin-top:20px;">
          <tr>
            <td width="32%" height="28" align="right"><b>留言类别：</b></td>
            <td align="left">
                <asp:DropDownList ID="ddlMsgType" runat="server">
                </asp:DropDownList>

                *</td>
          </tr>
          <tr>
            <td height="28" align="right"><b>主　　题：</b></td>
            <td align="left"><input type="text" id="title" size="50"  name="title" />*</td>
          </tr>
          <tr>
            <td height="28" align="right">联系电话：</td>
            <td align="left"><input type="text" id="telphone" runat="server" size="50" name="telphone" 
                    maxlength="50" />*</td>
          </tr>
          <tr>
            <td height="28" align="right" valign="top"><b>留言内容：</b></td>
            <td align="left"><textarea name="content" id="content" rows="5"></textarea>*</td>
          </tr>
          <tr>
            <td height="28">&nbsp;</td>
            <td align="left"><asp:Button ID="Button1" runat="server" Text="提交留言" 
                    OnClientClick="return CheckFrm();" OnClick="Button1_Click" Height="20px" 
                    Width="80px" /></td>
          </tr>
        </table>
        </form>
		<br />
	  </div>
   </div>
   <uc3:bottom ID="bottom_1" runat="server" />
  
</center>
</body>
</html>
